async function async1() {
  await async2();
  console.log("async1");
  return "async1 success";
}
async function async2() {
  return new Promise((resolve, reject) => {
    console.log("async2");
    reject("error");
  });
}
async1()
  .then((res) => console.log(res))
  .catch((res) => {
    console.log(res);
  });

// async2
// async1 ❌ Uncaught (in promise) error, 直接就报错了. 说你缺少cath来接受reject
